class Lib
  def self.fileNameToClass(base, mod, type)
    require "#{base}#{type}"
    c = ""
    t = type.split("_")
    t.each do |str|
      c += str[0, 1].to_s.upcase
      c += str[1..(str.length-1)] if str.length > 1
    end
    return eval("#{mod}#{c}")
  end 
end